<#include "header.htm"/>

<div id="tabs">
			<ul>
				<li><a href="${JForumContext.encodeURL("/admBase/login")}"><span>${I18n.getMessage("Admin.general")}</span></a></li>
	
			
				<li><a href="${contextPath}/adminGroups/list${extension}"><span>${I18n.getMessage("Admin.groups")}</span></a></li>
				<li><a href="${contextPath}/adminUsers/list${extension}"><span>${I18n.getMessage("Admin.users")}</span></a></li>
				<li><a href="${contextPath}/adminCategories/list${extension}"><span>${I18n.getMessage("Admin.categories")}</span></a></li>				
				<li><a href="${contextPath}/adminForums/list${extension}"><span>${I18n.getMessage("Admin.forums")}</span></a></li>
				<li><a href="${contextPath}/adminModeration/list${extension}"><span>${I18n.getMessage("Admin.approving")}</span></a></li>
			
				<li><a href="${contextPath}/adminRankings/list${extension}"><span>${I18n.getMessage("Admin.rankings")}</span></a></li>				
				<li><a href="${contextPath}/adminBanning/list${extension}"><span>${I18n.getMessage("Admin.banning")}</span></a></li>
				
				
				
				
				<li><a href="${contextPath}/adminConfig/list${extension}"><span>${I18n.getMessage("Admin.configurations")}</span></a></li>
			
				<li><a href="${contextPath}/adminSmilies/list${extension}"><span>${I18n.getMessage("Admin.smilies")}</span></a></li>
			
				<li><a href="${contextPath}/adminSearchStats/list${extension}"><span>${I18n.getMessage("Admin.search")}</span></a></li>
			
				<li id="activetab"><a href="${contextPath}/adminAttachments/configurations${extension}"><span>${I18n.getMessage("Admin.attachments")}</span></a></li>
			
				<li><a href="${contextPath}/adminCache/list${extension}"><span>${I18n.getMessage("Admin.cache")}</span></a></li>
			
			</ul>
</div>
<div id="acp">
		<div class="panel">
			<span class="corners-top"><span></span></span>
				<div id="content">
                <div id="toggle">
						<a id="toggle-handle" accesskey="m" title="Hide or display the side menu" onclick="switch_menu(); return false;" href="#"></a>
				</div>
				<div id="menu">
						
						<ul>
						
							<li class="header">${I18n.getMessage("Admin.attachments")}</li>
							
								<li id="activemenu"><a href="${contextPath}/adminAttachments/configurations${extension}"><span>${I18n.getMessage("Admin.attachConfigurations")}</span></a></li>
								
								<li><a href="${contextPath}/adminAttachments/quotaLimit${extension}"><span>${I18n.getMessage("Admin.attachQuota")}</span></a></li>
								
								<li><a href="${contextPath}/adminAttachments/extensionGroups${extension}"><span>${I18n.getMessage("Admin.attachExtensionGroups")}</span></a></li>
								
								<li><a href="${contextPath}/adminAttachments/extensions${extension}"><span>${I18n.getMessage("Admin.attachExtensions")}</span></a></li>
	

	
								
								
						</ul>
					</div>
				    <div id="main">

<#setting number_format = "#"/>

<form accept-charset="${encoding}" name="form" action="${contextPath}/jforum${extension}" method="post">
<input type="hidden" name="action" value="configurationsSave" />
<input type="hidden" name="module" value="${moduleName}" />

<fieldset>
		<legend>${I18n.getMessage("AdminAttachments.configTitle")}</legend>
	<dl>
		<dt><label>${I18n.getMessage("AdminAttachments.configIcon")}:</label><br><span>${I18n.getMessage("AdminAttachments.configIconDesc")}</span></dt>
		<dd><input type="text" size="25" maxlength="100" name="p_attachments.icon" value="${icon}" /></dd>
	</dl>
	
	<dl>
		<dt><label>${I18n.getMessage("AdminAttachments.configCreateThumb")}:</label><br><span>${I18n.getMessage("AdminAttachments.configCreateThumbDesc")}</span></dt>
		<dd>
		    <label><input type="radio" name="p_attachments.images.createthumb" value="true" class="radio" <#if createThumb>checked</#if>/> ${I18n.getMessage("User.yes")}</label>
		    <label><input type="radio" name="p_attachments.images.createthumb" value="false" class="radio" <#if !createThumb>checked</#if>/> ${I18n.getMessage("User.no")}</label>
		</dd>

	</dl>

	<dl>
		<dt><label>${I18n.getMessage("AdminAttachments.configThumb")}:</label><br><span>${I18n.getMessage("AdminAttachments.configThumbDesc")}</span></dt>
		<dd>					<span>
					<input type="text" size="10" maxlength="4" name="p_attachments.images.thumb.maxsize.w" value="${thumbW}" />
					x
					<input type="text" size="10" maxlength="4" name="p_attachments.images.thumb.maxsize.h" value="${thumbH}" />
					(${I18n.getMessage("AdminAttachments.width")} x ${I18n.getMessage("AdminAttachments.height")})</span>
		</dd>
	</dl>

	<dl>
		<dt><label>${I18n.getMessage("AdminAttachments.thumbBorder")}:</label><br><span>${I18n.getMessage("AdminAttachments.thumbBorderDesc")}</span></dt>
		<dd>
		    <label><input type="radio" name="p_attachments.images.thumb.box.show" value="true" class="radio" <#if thumbBorder>checked</#if>/> ${I18n.getMessage("User.yes")}</label>
		    <label><input type="radio" name="p_attachments.images.thumb.box.show" value="false" class="radio" <#if !thumbBorder>checked</#if>/> ${I18n.getMessage("User.no")}</label>
		</dd>

	</dl>

	<dl>
		<dt><label>${I18n.getMessage("AdminAttachments.maxAttachs")}:</label><br><span>${I18n.getMessage("AdminAttachments.maxAttachsDesc")}</span></dt>
		<dd><input type="text" size="5" maxlength="2" name="p_attachments.max.post" value="${maxPost}" /></dd>
	</dl>
		
	</fieldset>



<fieldset class="submit-buttons">
		<input class="button1" type="submit" value="${I18n.getMessage("Update")}" name="submit">&nbsp;
		<input type="reset" value="${I18n.getMessage("Reset")}" class="button2"/>
</fieldset>

</form>
</div>
</div>
	<span class="corners-bottom"><span></span></span>
</div>
</div>

<#include "bottom.htm"/>